import org.mybatis.spring.annotation.MapperScan;
import org.shan.spring.cache.annotation.EnableJ2Cache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = { "org.herui", "org.shan", "com.mlnx"})
@EnableJ2Cache
@EnableScheduling
@EnableTransactionManagement
@EnableFeignClients(basePackages = "org.herui")
@EnableDiscoveryClient
@MapperScan("com.mlnx.dao.mysql")
@EnableCaching
@EnableHystrix
public class YingbaisuiSysApplication {

    public static void main(String[] args) {
        SpringApplication.run(YingbaisuiSysApplication.class, args);
    }
}
